/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.unicamp.ic.sgct.server.recursos.persistencia;

/**
 *
 * @author arthur
 */
public class LOGGER {


        public static void debug(String info) {
            System.err.flush();
            System.out.println(BasicCrudDAO.class.getName() + "  " + info);
        }

        public static void info(String info) {
            System.err.flush();
            System.out.println(BasicCrudDAO.class.getName() + "  " + info);
        }
        public static void error(String info, Exception ex) {
            System.out.flush();
            System.err.println(BasicCrudDAO.class.getName() + "  " + info);
            ex.printStackTrace();
        }

        static boolean isDebugEnabled() {
            return true;
        }

}
